const express = require('express')
const router = express.Router()
const settingService = require('services/setting')

router.get('', async (req, res) => {
  const phone = await settingService.get('ContactPhone')
  res.json({
    contactPhone: phone
  })
})

module.exports = router